<template>
  <div>

    <button @click="myclick">app点击++</button>
    <com-fa :fcount =count  ></com-fa>
  </div>
</template>

<script setup >
import ComFa from './components/App808.vue';
import { ref, provide } from 'vue'
const count = ref(0)
const appName = ref("app")
provide('app', appName)

const myclick = () => {
  count.value = ++count.value
  appName.value='李四'
}



</script>

<style scoped></style>